package com.xiaodou.mjf.web.xface.user.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by Rocky on 2/3/15.
 */
public class beautyFinanceSubscriptionInfo {


	// 订单编号
	private String oid;
	// 产品Icon地址
	private String icon;
	// 产品编号
	private String id;
	// 产品名称
	private String name;
	// 购买金额
	private Double amount;
	// 购买日期
	@JsonFormat(pattern = "yyyy-MM-dd")
	@JsonProperty("purchase_date")
	private Date purchaseDate;
	// 投资状态
	private Integer status;
	//将赚取收益
	@JsonProperty("expected_profit")
	private Double expectedProfit;
	


	public Double getExpectedProfit() {
		return expectedProfit;
	}

	public void setExpectedProfit(Double expectedProfit) {
		this.expectedProfit = expectedProfit;
	}


	public beautyFinanceSubscriptionInfo(String oid, String icon, String id,
			String name, Double amount, Date purchaseDate, Integer status,
			Double expectedProfit, Double earned_profit) {
		super();
		this.oid = oid;
		this.icon = icon;
		this.id = id;
		this.name = name;
		this.amount = amount;
		this.purchaseDate = purchaseDate;
		this.status = status;
		this.expectedProfit = expectedProfit;
		this.earned_profit = earned_profit;
	}


	//赚钱收益
	private Double earned_profit;
	

	

	public beautyFinanceSubscriptionInfo() {
	}





	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the oid
	 */
	public String getOid() {
		return oid;
	}

	/**
	 * @param oid
	 *            the oid to set
	 */
	public void setOid(String oid) {
		this.oid = oid;
	}

	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}

	/**
	 * @param icon
	 *            the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	public Double getAmount() {
		return amount;
	}



	public void setAmount(Double amount) {
		this.amount = amount;
	}



	public Date getPurchaseDate() {
		return purchaseDate;
	}



	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}



	public Double getEarned_profit() {
		return earned_profit;
	}



	public void setEarned_profit(Double earned_profit) {
		this.earned_profit = earned_profit;
	}
	

}
